import request from '@/utils/request'

// 上传图片
export function uploadFile(data) {
  return request({
    url: '/common/upload',
    method: 'post',
    data
  })
}

// 获取GIT构建信息
export function getBuildGitInfo(params) {
  return request({
    url: '/system/config/getBuildGitInfo',
    method: 'get',
    params
  })
}
